package com.itheima.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <dl>
 * <dd>描述: ~节点业务逻辑实现</dd>
 * <dd>创建时间：  15:21 2020/7/14</dd>
 * <dd>创建人： zz</dd>
 * <dt>版本历史: </dt>
 * <pre>
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2020/7/14      guodong       1.0        1.0 Version
 * </pre>
 * </dl>
 */
@Data
@ConfigurationProperties(prefix = "person")
@Component //注入到spring容器中 @Service  @Controller @Mapper
public class Person {

    private String name;

    private int age;

    private String sex;

    private String likes[];

    private List<Booke> bookes;

}
